package git.yyge.luajava.api;


import git.yyge.luajava.utils.LuaUtils;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController("/test")
public class TestApi {


    @GetMapping("/lua")
    public String lua() {
        LuaUtils.runLuaFile("lua/main.lua");
        return "hello lua";
    }
}
